//
//  TopModal.m
//  HuiWenMovie
//
//  Created by niceDay on 15/7/21.
//  Copyright (c) 2015年 computer. All rights reserved.
//

#import "TopModal.h"

@implementation TopModal

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"rating"]) {
        NSDictionary *dic = value;
        _average = [dic[@"average"] floatValue];
    }
}

@end
